package org.sdau.rotten.library.service;

import org.sdau.rotten.library.entity.Appointment;
import org.sdau.rotten.library.entity.User;

import java.util.List;

public interface UserService {
    boolean register(User user);

    User isExist(String username, String password);

    List<Appointment> myAppoint(String userId);

    List<User> search(String userId);

    boolean insertUser(int userId,String password,String authority);

}
